package com.yidu.hbats.service.Recovery;

import com.yidu.hbats.dao.AtsSchemeAthleteMapper;
import com.yidu.hbats.model.AtsSchemeAthlete;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program: t272
 * @description 康复方案接口
 * @author: lr
 * @create: 2019-11-12 09:19
 **/
@Service
public class RecoveryAtsSchemeAthleteServiceImpl implements RecoveryAtsSchemeAthleteService{
    @Resource
    AtsSchemeAthleteMapper atsSchemeAthleteMapper;
    @Override
    public void insertSelective(AtsSchemeAthlete record) {
        atsSchemeAthleteMapper.insertSelective(record);
    }

    @Override
    public List<AtsSchemeAthlete> selectByIdone(int schemeId) {
        return atsSchemeAthleteMapper.selectByIdone(schemeId);
    }

    @Override
    public int updateByPrimaryKeySelectivethree(AtsSchemeAthlete atsSchemeAthlete) {
        return atsSchemeAthleteMapper.updateByPrimaryKeySelectivethree(atsSchemeAthlete);
    }

    @Override
    public int updateByPrimaryKeySelectiveFour(int schemeId) {
        return atsSchemeAthleteMapper.updateByPrimaryKeySelectiveFour(schemeId);
    }

    @Override
    public int updateByPrimaryKeySelectiveZero(AtsSchemeAthlete atsSchemeAthlete) {
        return atsSchemeAthleteMapper.updateByPrimaryKeySelectiveZero(atsSchemeAthlete);
    }
}